guess and check strategy